package cn.bon.user;

import cn.bon.websocket.annotations.EnableWebsocket;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * @author: dronff
 * @description:
 * @CreateTime: 2023/12/7 17:45
 **/
@SpringBootApplication(scanBasePackages = {
        "cn.bon.user",
        "cn.bon.security",
        "cn.bon.common"
})
@MapperScan(basePackages = "cn.bon.user.mapper")
@EnableWebsocket
@EnableFeignClients(basePackages = {"cn.bon.emp.api"})
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }


}
